home *** CD-ROM | disk | FTP | other *** search
/ PC User 2003 January / Disc 3 / Amethyst.iso / rl / build-bin / bls < prev    next >
Encoding:
Text File  |  2001-08-04  |  573 b   |  37 lines

  1. #!/bin/sh
  2. # bls - bug show script
  3. # copyright (c) 2001, joseph cheek, joseph@redmondlinux.org
  4. # released under gpl.
  5. # ex: bls
  6.  
  7. if [ "n$1" = "n-q" ]; then # -q
  8.   QUIET="-q"
  9.   shift
  10. fi
  11.  
  12.  
  13. # constants and vars
  14.  
  15. RL_ROOT=/opt/redmondlinux
  16. BUILD_NUM_FILE=$RL_ROOT/builds/CURRENT_BUILD
  17. BUILD_NUM=`cat $BUILD_NUM_FILE`
  18.  
  19. BUILD_ROOT=$RL_ROOT/builds/$BUILD_NUM
  20. BUG_LIST=$BUILD_ROOT/BUGS
  21.  
  22.  
  23. # show changelog
  24.  
  25. cat $BUG_LIST
  26.  
  27. if [ "$?" -gt 0 ]; then # show bug list failed
  28. ( echo `basename $0`: show bug list failed
  29.   echo check permissions on $BUG_LIST ) >&2
  30.   exit 1
  31. fi
  32.  
  33. exit 0
  34.